package com.king.security.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置类
 *
 * @author KING
 * @date 2018/8/30 18:11
 */
@ConfigurationProperties(prefix = "edp.security")
@Getter
@Setter
public class SecurityPropertis {
    /**
     * 浏览器环境配置
     */
    private BrowserProperties browser = new BrowserProperties();

    private final Web web = new Web();

    @Getter
    @Setter
    public static class Web {

        private String[] notAuthMatchers;

        private String loginPath;

        private String loginSuccessPath;

        private String userLoginPath;
    }
}
